package com.hy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @TableName doctors
 */
@TableName(value ="doctors")
@Data
public class Doctors implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     *
     */
    private String name;

    /**
     *
     */
    private Integer gender;

    /**
     *
     */
    private String phone;

    /**
     *
     */
    @TableField("hospital_id")
    private Integer hospitalId;

    /**
     *
     */
    @TableField("department_id")
    private Integer departmentId;

    private String imgurl;

    /**
     *
     */
    private String title;
    private String desc;
    private Double price;

    /**
     *
     */
    private Date lastLoginTime;

    /**
     *
     */
    private Date registrationTime;

    /**
     *
     */
    private Integer isVerified;
    @TableField(exist = false)
    private DoctorsHospital hospitall;
    @TableField(exist = false)
    private DoctorsBigDep bigdep;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
